package com.biz.primus.ms.tms.feign;

import com.biz.primus.model.member.vo.MemberVo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * MemberFeignClient
 *
 * @author JKLiues
 * @date 2017年11月28日
 */
@FeignClient(qualifier = "memberFeignClient", serviceId = "service-member")
public interface MemberFeignClient {
    /**
     * 获取会员信息
     *
     * @param account 会员账号
     * @return MemberVo
     */
    @GetMapping("soa/memberService/findByAccount")
    MemberVo findByAccount(@RequestParam("account") String account);
}